package com.ym.b2b.order.tk;

import com.ym.b2b.commons.exception.BaseException;
import com.ym.b2b.order.sqlbean.EmSOrderConfirmItem;
import com.ym.b2b.order.vo.OrderInfoVO;
import com.zc.commons.base.Result;

public interface TkService {

    /**
     * 处理订单
     * 
     * @Title: dealOrder
     * @Description: TODO
     * @Param @param vo
     * @Param @return
     * @Param @throws BaseException
     * @Return Result
     * @Throws
     */
    public Result dealOrder(OrderInfoVO vo) throws BaseException;

    /**
     * @Title: 取消订单
     * @Description: TODO
     * @Param @param vo
     * @Param @return
     * @Param @throws BaseException
     * @Return Result
     * @Throws
     */
    public Result cancelOrder(OrderInfoVO vo) throws BaseException;

    /**
     * 更新订单信息
     * @param vo
     * @param item
     * @throws BaseException
     */
    public void updateOrder(OrderInfoVO vo, EmSOrderConfirmItem item) throws BaseException ;
}
